package main;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.logging.*;

public class AutomatonTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception{
		FileHandler hand = new FileHandler("D:\\development\\dblab\\log.log");
		Logger log = Logger.getLogger("log_file");
		log.addHandler(hand);
		log.warning("Doing carefully!");
		log.info("Doing something ...");
		log.severe("Doing strictily ");
		System.out.println(log.getName());
	}

}
